uniform sampler2D texture;
varying float vertex_mass;

void main()
{
	vec4 color = texture2D(texture,gl_TexCoord[0].st);
	gl_FragColor = vec4(color.r * vertex_mass,0,0,1);
}
